package com.jy.adscm.spss.mapper.mysql;

import java.util.List;

import com.baomidou.mybatisplus.mapper.BaseMapper;

import com.jy.adscm.spss.bean.Yl_Material;
import com.jy.adscm.spss.bean.Zjk_Middlelibrary;
import com.jy.adscm.spss.bean.Zjk_MiddlelibraryQuery;
import org.apache.ibatis.annotations.Param;


public interface Zjk_MiddlelibraryMapper extends BaseMapper<Zjk_Middlelibrary> {
    int countByExample(Zjk_MiddlelibraryQuery example);

    int deleteByExample(Zjk_MiddlelibraryQuery example);

    int deleteByPrimaryKey(String tid);


    int insertSelective(Zjk_Middlelibrary record);

    List<Zjk_Middlelibrary> selectByExample(Zjk_MiddlelibraryQuery example);
    List<Yl_Material> selectYlByExample();

    Zjk_Middlelibrary selectByPrimaryKey(String tid);

    int updateByExampleSelective(@Param("record") Zjk_Middlelibrary record, @Param("example") Zjk_MiddlelibraryQuery example);

    int updateByExample(@Param("record") Zjk_Middlelibrary record, @Param("example") Zjk_MiddlelibraryQuery example);

    int updateByPrimaryKeySelective(Zjk_Middlelibrary record);

    int updateByPrimaryKey(Zjk_Middlelibrary record);
    
   List<Zjk_Middlelibrary> getNumberDiff();
}